body {
    background-color: #a0d2eb; /* A nice light blue */
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #494d7e;
    user-select: none;
}

#game-container {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border: 5px solid white;
}

.panel {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 15px;
    border: 3px solid white;
}

#main-area {
    text-align: center;
    width: 400px;
}

h1 {
    font-size: 2.5em;
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

#score-container {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fca311;
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    border: 3px solid white;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

.coin-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#bunny {
    width: 200px;
    cursor: pointer;
    transition: transform 0.1s ease;
    filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
}

#bunny:active {
    transform: scale(0.9);
}

#shop {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

h2 {
    text-align: center;
    margin-top: 0;
}

.shop-item {
    background-color: #eaf4f4;
    border-radius: 10px;
    padding: 10px;
    border: 2px solid white;
    display: grid;
    grid-template-areas: 
        "button cost"
        "button level";
    grid-template-columns: 1fr auto;
    align-items: center;
}

.shop-item button {
    grid-area: button;
    display: flex;
    align-items: center;
    background-color: #84dcc6;
    border: 2px solid white;
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    font-family: inherit;
    color: #494d7e;
    font-size: 1em;
    text-align: left;
    transition: background-color 0.2s;
}

.shop-item button:hover:not(:disabled) {
    background-color: #a5ffd6;
}

.shop-item button:disabled {
    background-color: #b0b0b0;
    cursor: not-allowed;
    opacity: 0.7;
}

.shop-item button img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.shop-item button p {
    margin: 0;
}

.cost {
    grid-area: cost;
    font-weight: bold;
    justify-self: end;
}

.level {
    grid-area: level;
    font-style: italic;
    justify-self: end;
}

.floating-text {
    position: absolute;
    font-size: 1.5em;
    font-weight: bold;
    color: #494d7e;
    pointer-events: none;
    animation: float-up 1s ease-out forwards;
    text-shadow: 2px 2px 2px white;
}

@keyframes float-up {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

#carrot-field {
    margin-top: 20px;
    min-height: 50px;
    background-color: #77b255;
    border-radius: 10px;
    border: 3px solid #5a8a42;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#carrot-field img {
    width: 30px;
    height: 30px;
}

